package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
//        Point p=new Point();
//       p.setX(10);
//        System.out.println(p.getX());
//        p.setY(20);
//        System.out.println(p.getY());
//
        StaticVar s1=new StaticVar();
        s1.show();
        StaticVar s2=new StaticVar();
        s2.show();
        StaticVar s3=new StaticVar();
        s3.show();
        System.out.println(StaticVar.b);//static  类名.

        StaticBlock s4=new StaticBlock();
        StaticBlock s5=new StaticBlock();
        StaticBlock s6=new StaticBlock();


    }
}
